package ZUOYE;
public class Test {
    public static void main(String[] args){
        Dayin dayin;
        dayin=new Dayin1();//打印黑白
        dayin.test();
        dayin=new Dayin2();//打印彩色
        dayin.test();
    }
}
